use clap::Parser;

/// Simple program to greet a person
#[derive(Parser,Debug)]
pub struct Args {
    /// show current version of clash
    #[arg(short, long)]
    pub version: bool,

    /// test configuration and exit
    #[arg(short, long)]
    pub test_config: bool,

    /// set configuration directory
    #[arg(long)]
    pub home_dir: Option<String>,

    /// specify configuration file
    #[arg(short, long)]
    pub config_file: Option<String>,

    /// override external ui directory
    #[arg(short, long)]
    pub external_ui: Option<String>,

    /// override external controller address
    #[arg(long)]
    pub external_controller: Option<String>,

    /// override secret for RESTful API
    #[arg(short, long)]
    pub secret : Option<String>,
}
